package com.fsxgt.datagrid.ds.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.fsxgt.datagrid.ds.bo.DatasourceJdbcBO;
@Repository
@Mapper
public interface DatasourceJdbcMapper {
	
	void insertDatasource(DatasourceJdbcBO datasourceJdbcBO);
	void deleteDatasource(DatasourceJdbcBO datasourceJdbcBO);
	void updateDatasource(DatasourceJdbcBO datasourceJdbcBO);
	

	List selectDatasource(DatasourceJdbcBO datasourceJdbcBO);
	
	DatasourceJdbcBO findDatasourceById(@Param("id")Long id);

}
